using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using DG.Tweening;
public class SaveDataPoint : MonoBehaviour, ISaveData
{
    [SerializeField] private Vector3 position;
    [SerializeField] private SpriteRenderer spriteRenderer;
    
    //
    private void Start()
    {
        spriteRenderer = GetComponent<SpriteRenderer>();
    }

    public int GetSceneIndex()
    {
        //
        return SceneManager.GetActiveScene().buildIndex;
        spriteRenderer.color = Color.red;
    }
    
    //
    public Vector3 GetPosition()
    {
        //
        return position;
    }
}
